﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <title>hResume 2 - multiple occurrence test</title>
  
  <!-- This will be replace with one CSS file and one JavaScipt file -->
  <link rel="stylesheet" href="../css/uftestsuite.css" type="text/css" />
  <link rel="stylesheet" href="../../testrunner/css/testrunner.css" type="text/css" />
  
  <script type="text/javascript" src="../../testrunner/javascript/prototype-1.6.0.2.js"></script> 
  <script type="text/javascript" src="../../testrunner/javascript/beautify.js"></script>
  <script type="application/javascript;version=1.7" src="http://svn.mozilla.org/labs/operator/chrome/operator/content/Microformats/Microformats.js"></script> 
  <script type="text/javascript" src="../../testrunner/javascript/testrunner.js"></script>
     
</head>
<body>
    
    <div class="test-fixture">
    
    <p>
    <a href="../"><img border="0" id="testsuite-image" alt="Microformats test suite" src="../images/testsuite.gif" /></a><br />
    </p>
    
    <h1 class="summary">hResume 2 - multiple occurrence test</h1>
    <p class="description">This page was design to test that values of a hResume which are can have multiple occurrences are parsed correctly.</p>
    <p>From: <a href="default.htm"><span class="format">hResume</span> test suite 1.0</a></p>
    <p class="author vcard">
        Author: <a class="url fn" href="http://www.glennjones.net/">Glenn Jones</a>
    </p>
    
    <p>Tests:</p>
    <table id="assetTable" cellpadding="0" cellspacing="0">
    <thead>
        <tr>
            <th>Test</th>
            <th>Result</th>
            <th>Comment</th>
        </tr>
    </thead>
    <tbody>
    
         <tr class="assert">
            <td class="test">hresume[0].affiliation[1].org[0].organization-name</td>
            <td class="result">IsEqualTo("BritPack")</td>
            <td class="comment">The affiliation is a multiple occurrence value</td>
        </tr>        
        
        <tr class="assert">
            <td class="test">hresume[0].education[0].location</td>
            <td class="result">IsEqualTo("Brighton University")</td>
            <td class="comment">The education is a multiple occurrence value</td>
        </tr>
        
        <tr class="assert">
            <td class="test">hresume[0].education[0].summary</td>
            <td class="result">IsEqualTo("BA Graphic Design")</td>
            <td class="comment">The education is a multiple occurrence value</td>
        </tr>

        <tr class="assert">
            <td class="test">hresume[0].experience[0].location</td>
            <td class="result">IsEqualTo("Brighton")</td>
            <td class="comment">The experience is a multiple occurrence value</td>
        </tr>
        
        <tr class="assert">
            <td class="test">hresume[0].experience[0].summary</td>
            <td class="result">IsEqualTo("Web Design Ltd")</td>
            <td class="comment">The experience is a multiple occurrence value</td>
        </tr>
        
        <tr class="assert">
            <td class="test">hresume[0].publication[1]</td>
            <td class="result">IsEqualTo("http://2.example.com")</td>
            <td class="comment">The publication is a multiple occurrence value</td>
        </tr>

        <tr class="assert">
            <td class="test">hresume[0].skill[3].tag</td>
            <td class="result">IsEqualToCaseInsensitive("C++")</td>
            <td class="comment">The skill is a multiple occurrence value</td>
        </tr>



     </tbody>
    </table> 
    
    
    <p>History:</p>
    <ul>
    <li class="history vevent">
        <span class="summary">Created</span>: <abbr class="dtstart" title="2008-06-02">3 June 2008</abbr> 
        <span class="description">by Glenn Jones</span>
    </li>
    </ul>
    
    
    
    </div>
  
    <div id="uf">
    	<!-- This may not be the best semantic use of HTML element -->
    
        <div class="hresume">
            <div class="contact vcard">
            	<div class="fn">John Doe</div>
            </div>
            
            <div class="affiliation vcard">
            	<div class="fn org">Interactive Designer Association</div>
            </div>
            <div class="affiliation vcard">
            	<div class="fn org">BritPack</div>
            </div>

            
            <div class="education vevent">
            	<div class="location">Brighton University</div>
				<div class="summary">BA Graphic Design</div>
				<div>
					<abbr class="dtstart" title="2000-09">September 2000</abbr> - 
					<abbr class="dtend" title="2003-06">June 2003</abbr>
				</div>
				<div>Ref: <span class="uid" >bu.example.com</span></div>
			</div>
			
			<div class="experience vevent">
				<div class="summary">Web Design Ltd</div>
				<div class="location">Brighton</div>
				<div>
					<abbr class="dtstart" title="2003-07">June 2003</abbr> - 
					<abbr class="dtend" title="2007-10">October 2007</abbr>
				</div>
				<div>Ref: <span class="uid" >wdl.example.com</span></div>
			</div>
			
			<div>Author of: 
				<ul>
		  			<li><cite><a href="http://1.example.com" >http://1.example.com</a></cite></li>
		  			<li><cite><a href="http://2.example.com" >http://2.example.com</a></cite></li>
		  			<li><cite><a href="http://3.example.com" >http://3.example.com</a></cite></li>
				</ul>
			</div>
			
			<div>			
				<a rel="tag" class="skill" href="http://en.wikipedia.org/wiki/CAD">CAD</a>,
				<a rel="tag" class="skill" href="http://en.wikipedia.org/wiki/AutoCAD">AutoCAD</a>,
				<a rel="tag" class="skill" href="http://en.wikipedia.org/wiki/MathCAD">MathCAD</a>,
				<a rel="tag" class="skill" href="http://en.wikipedia.org/wiki/C%2B%2B">C++</a>,
				<a rel="tag" class="skill" href="http://en.wikipedia.org/wiki/MS_Word">Word</a>,
				<a rel="tag" class="skill" href="http://en.wikipedia.org/wiki/Microsoft_Excel">Excel</a>
			</div>

  

        </div>
        
    </div>
    
    <p>
        <a rel="license" href="../license.txt">Some rights reserved</a>
    </p>
      
</body>

</html>